import { defineConfig } from 'vite';
import uni from '@dcloudio/vite-plugin-uni';
import path from 'path'

export default defineConfig({
	plugins: [uni()],
	build: {
			minify: 'terser',
			terserOptions: {
				compress: {
					drop_console: true,
				},
			},
	},
	resolve:{
		alias:{
			'@':path.join(__dirname,'./pages'),
			'@static':path.join(__dirname,'./static'),
		}
	}
});